<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>编辑游记</title>
    <link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
    <style>
        /* 隐藏滚动条 */
        ::-webkit-scrollbar {
            display: none;
        }
        body {
            -ms-overflow-style: none;
            scrollbar-width: none;
        }
        /* Mock up 样式 */
        .mock-up {
            position: relative;
            width: 375px;
            height: 812px;
            margin: 0 auto;
            background: #f6f6f6;
            border-radius: 40px;
            overflow: hidden;
        }
        /* 状态栏样式 */
        .status-bar {
            height: 44px;
            background: transparent;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 20px;
            color: #000;
            font-size: 14px;
        }
        /* 编辑器样式 */
        .editor-content {
            min-height: 200px;
            background: #fff;
        }
        /* 图片上传样式 */
        .upload-area {
            border: 2px dashed #e5e7eb;
            border-radius: 8px;
        }
    </style>
</head>
<body class="bg-gray-100">
    <div class="mock-up">
        <!-- 状态栏 -->
        <div class="status-bar">
            <span>9:41</span>
            <div class="flex items-center space-x-1">
                <svg class="w-4 h-4" fill="currentColor" viewBox="0 0 24 24">
                    <path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"/>
                </svg>
                <svg class="w-4 h-4" fill="currentColor" viewBox="0 0 24 24">
                    <path d="M2 22h20V2L2 22z"/>
                </svg>
                <svg class="w-4 h-4" fill="currentColor" viewBox="0 0 24 24">
                    <path d="M15.67 4H14V2h-4v2H8.33C7.6 4 7 4.6 7 5.33v15.33C7 21.4 7.6 22 8.33 22h7.33c.74 0 1.34-.6 1.34-1.33V5.33C17 4.6 16.4 4 15.67 4z"/>
                </svg>
            </div>
        </div>

        <!-- 顶部导航 -->
        <div class="bg-white px-4 py-3 flex justify-between items-center border-b border-gray-100">
            <button class="text-gray-500">
                <svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"/>
                </svg>
            </button>
            <h1 class="text-lg font-medium">编辑游记</h1>
            <button class="text-blue-500 text-sm font-medium">发布</button>
        </div>

        <!-- 编辑区域 -->
        <div class="h-full overflow-auto pb-20">
            <!-- 标题输入 -->
            <div class="bg-white px-4 py-3">
                <input type="text" placeholder="请输入标题" class="w-full text-lg font-medium focus:outline-none">
            </div>

            <!-- 封面上传 -->
            <div class="bg-white px-4 py-4 mt-2">
                <h3 class="text-sm text-gray-500 mb-3">封面图片</h3>
                <div class="upload-area flex items-center justify-center p-4">
                    <div class="text-center">
                        <svg class="w-8 h-8 mx-auto text-gray-400" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 6v6m0 0v6m0-6h6m-6 0H6"/>
                        </svg>
                        <p class="mt-2 text-sm text-gray-500">点击上传封面图片</p>
                    </div>
                </div>
            </div>

            <!-- 正文编辑器 -->
            <div class="bg-white px-4 py-4 mt-2">
                <div class="editor-content">
                    <textarea placeholder="开始记录你的旅行故事..." class="w-full h-full p-2 focus:outline-none resize-none text-base"></textarea>
                </div>

                <!-- 工具栏 -->
                <div class="flex items-center space-x-4 mt-4 pt-4 border-t border-gray-100">
                    <button class="text-gray-500">
                        <svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 16l4.586-4.586a2 2 0 012.828 0L16 16m-2-2l1.586-1.586a2 2 0 012.828 0L20 14m-6-6h.01M6 20h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z"/>
                        </svg>
                    </button>
                    <button class="text-gray-500">
                        <svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z"/>
                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 11a3 3 0 11-6 0 3 3 0 016 0z"/>
                        </svg>
                    </button>
                    <button class="text-gray-500">
                        <svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M14.752 11.168l-3.197-2.132A1 1 0 0010 9.87v4.263a1 1 0 001.555.832l3.197-2.132a1 1 0 000-1.664z"/>
                            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 12a9 9 0 11-18 0 9 9 0 0118 0z"/>
                        </svg>
                    </button>
                </div>
            </div>

            <!-- 标签选择 -->
            <div class="bg-white px-4 py-4 mt-2">
                <h3 class="text-sm text-gray-500 mb-3">添加标签</h3>
                <div class="flex flex-wrap gap-2">
                    <button class="px-3 py-1 bg-blue-50 text-blue-500 rounded-full text-sm">毕业季</button>
                    <button class="px-3 py-1 bg-gray-100 text-gray-500 rounded-full text-sm">美食</button>
                    <button class="px-3 py-1 bg-gray-100 text-gray-500 rounded-full text-sm">文化</button>
                    <button class="px-3 py-1 bg-gray-100 text-gray-500 rounded-full text-sm">摄影</button>
                    <button class="px-3 py-1 bg-gray-100 text-gray-500 rounded-full text-sm">+ 添加</button>
                </div>
            </div>
        </div>
    </div>
</body>
</html>